<?php 

    if(count($colonias)>0){
    foreach ($colonias as $colonia){ ?>

<div onclick="coloniaSelect('<?php echo $colonia->getId() ?>','<?php echo $colonia->getMunicipioId() ?>');" style="clear:both; border-bottom: 1px dashed #fff; padding: 2px;" id="busquedaBusqItem" class="busquedaBusqItem" title="<?php echo $colonia->getId() ?>"><?php echo $colonia->getNombre().' ('.$colonia->getCp().')' ?></div>

<?php }} else {?>
<div style="clear:both; border-bottom: 1px dashed #fff; padding: 2px;" class="busquedaBusqItem" >No existe coincidencias</div>
<?php }?>